package cn.edu.sdjzu.dao;

import cn.edu.sdjzu.entity.Teacher;
import cn.edu.sdjzu.exception.BaseException;
import cn.edu.sdjzu.util.Condition;
import cn.edu.sdjzu.util.Pagination;

import java.lang.reflect.InvocationTargetException;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Collection;
import java.util.List;

/**
 * @author 刘永渠
 * @project xg22
 * @date 2024/3/26
 */
public interface TeacherDao {
    Collection<Teacher> findAll(Connection connection, List<Condition> conditionList,
                                Pagination pagination) throws SQLException, BaseException, InvocationTargetException;

}
